package com.xiaozhengkeji.mcverifyplus.base.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.xiaozhengkeji.mcverifyplus.base.entitys.SystemUserEntity;
import com.xiaozhengkeji.mcverifyplus.base.mapper.SystemUserEntityMapper;
@Service
public class SystemUserEntityService{

    @Resource
    private SystemUserEntityMapper systemUserEntityMapper;

    
    public int deleteByPrimaryKey(Integer id) {
        return systemUserEntityMapper.deleteByPrimaryKey(id);
    }

    
    public int insert(SystemUserEntity record) {
        return systemUserEntityMapper.insert(record);
    }

    
    public int insertSelective(SystemUserEntity record) {
        return systemUserEntityMapper.insertSelective(record);
    }

    
    public SystemUserEntity selectByPrimaryKey(Integer id) {
        return systemUserEntityMapper.selectByPrimaryKey(id);
    }

    
    public int updateByPrimaryKeySelective(SystemUserEntity record) {
        return systemUserEntityMapper.updateByPrimaryKeySelective(record);
    }

    
    public int updateByPrimaryKey(SystemUserEntity record) {
        return systemUserEntityMapper.updateByPrimaryKey(record);
    }

    
    public List<SystemUserEntity> queryByAll(SystemUserEntity systemUserEntity) {
        return systemUserEntityMapper.queryByAll(systemUserEntity);
    }

    
    public List<SystemUserEntity> queryByMailBox(String mailBox) {
        return systemUserEntityMapper.queryByMailBox(mailBox);
    }

    
    public List<SystemUserEntity> queryByMailBoxAndPassWord(String mailBox,String passWord) {
        return systemUserEntityMapper.queryByMailBoxAndPassWord(mailBox,passWord);
    }

}
